package com.ruoyi.leave.mapper;

import com.ruoyi.leave.domain.WorkflowWaterPlan;

import java.util.List;

/**
 * 用水申请Mapper接口
 *
 * @author ruoyi
 * @date 2023-12-22
 */
public interface WorkflowWaterPlanMapper {
    /**
     * 查询用水申请
     *
     * @param id 用水申请ID
     * @return 用水申请
     */
    public WorkflowWaterPlan selectWorkflowWaterPlanById(String id);

    /**
     * 查询用水申请列表
     *
     * @param workflowWaterPlan 用水申请
     * @return 用水申请集合
     */
    public List<WorkflowWaterPlan> selectWorkflowWaterPlanList(WorkflowWaterPlan workflowWaterPlan);

    /**
     * 新增用水申请
     *
     * @param workflowWaterPlan 用水申请
     * @return 结果
     */
    public int insertWorkflowWaterPlan(WorkflowWaterPlan workflowWaterPlan);

    /**
     * 修改用水申请
     *
     * @param workflowWaterPlan 用水申请
     * @return 结果
     */
    public int updateWorkflowWaterPlan(WorkflowWaterPlan workflowWaterPlan);

    /**
     * 删除用水申请
     *
     * @param id 用水申请ID
     * @return 结果
     */
    public int deleteWorkflowWaterPlanById(String id);

    /**
     * 批量删除用水申请
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteWorkflowWaterPlanByIds(String[] ids);
}
